package com.kawaiior.asoulworld.item.armor;

import com.kawaiior.asoulworld.IdlFramework;
import com.kawaiior.asoulworld.init.ModCreativeTab;
import com.kawaiior.asoulworld.item.ModItems;
import com.kawaiior.asoulworld.util.IHasModel;
import net.minecraft.inventory.EntityEquipmentSlot;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;


public class ItemArmorBase extends ItemArmor implements IHasModel {

    public ItemArmorBase(String name, ArmorMaterial materialIn, int renderIndexIn, EntityEquipmentSlot equipmentSlotIn) {
        super(materialIn, renderIndexIn, equipmentSlotIn);
        setUnlocalizedName(name);
        setRegistryName(name);
        setCreativeTab(ModCreativeTab.IDL_MISC);

        ModItems.ITEMS.add(this);
    }

    @Override
    public void registerModels()
    {
        IdlFramework.proxy.registerItemRenderer(this, 0, "inventory");
    }

    @Override
    public boolean getIsRepairable(ItemStack toRepair, ItemStack repair)
    {
        return false;
    }

}
